const { _request } = require('../utils/request');
export function queryInspectionList(params) {
  return _request({
    url: '/app/inspection/queryInspectionList',
    params
  })
}

export function getTemplateDropdownList(params) {
  return _request({
    url: '/app/inspection/getTemplateDropdownList',
    params
  })
}

export function creatInspection(params) {
  return _request({
    url: '/app/inspection/creatInspection',
    params
  })
}

export function updateInspection(params) {
  return _request({
    url: '/app/inspection/updateInspection',
    params
  })
}

export function deleteInspectionById(params) {
  return _request({
    url: '/app/inspection/deleteInspectionById',
    params
  })
}

export function getInspectionById(params) {
  return _request({
    url: '/app/inspection/getInspectionById',
    params
  })
}

export function getInspectionTemplateById(params) {
  return _request({
    url: '/app/inspection/getInspectionTemplateById',
    params
  })
}